package cn.sinata.wanglin.mine.activity;
import android.view.View;

import com.xilada.xldutils.activitys.TitleActivity;
import com.xilada.xldutils.utils.ActivityUtil;

import butterknife.OnClick;
import cn.sinata.wanglin.R;

public class MywalletActivity extends TitleActivity {
    @Override
    protected int setContentId() {
        return R.layout.activity_mywallet;
    }

    @Override
    protected void initView() {
        super.initView();
        setTitle("我的钱包");
    }

    @OnClick({R.id.tv_withdrawals,R.id.ttlv_withdrawalsrecord})
    void onClick(View v) {
        switch (v.getId()) {
            case R.id.tv_withdrawals:
                //描述:提现
                ActivityUtil.create(mContext).go(WithdrawalsActivity.class)
                        .start();
                break;
            case R.id.ttlv_withdrawalsrecord:
                //描述:提现记录
                ActivityUtil.create(mContext).go(RechargeWithdrawalsRecordsActivity.class)
                        .start();
                break;
        }
    }
}
